/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.common.base;

import com.duowan.realtime.model.OverviewBloomfilter;
import com.duowan.realtime.query.OverviewBloomfilterQuery;


/**
 * 用于生成OverviewBloomfilter相关数据对象的默认值
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 * 
 */
public class OverviewBloomfilterDataFactory {
	
	public static OverviewBloomfilterQuery newOverviewBloomfilterQuery() {
		OverviewBloomfilterQuery query = new OverviewBloomfilterQuery();
		query.setPage(1);
		query.setPageSize(10);
		
	  	query.setServerIp(new String("1"));
	  	query.setBitsetSize(new Long("1"));
		return query;
	}
	
	public static OverviewBloomfilter newOverviewBloomfilter() {
		OverviewBloomfilter obj = new OverviewBloomfilter();
		
	  	obj.setServerIp(new java.lang.String("1"));
	  	obj.setBitsetSize(new java.lang.Long("1"));
		return obj;
	}
}